package com.travel.server.manager.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderRefundInfoExample extends PageExample{
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderRefundInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andRefundIdIsNull() {
            addCriterion("refund_id is null");
            return (Criteria) this;
        }

        public Criteria andRefundIdIsNotNull() {
            addCriterion("refund_id is not null");
            return (Criteria) this;
        }

        public Criteria andRefundIdEqualTo(String value) {
            addCriterion("refund_id =", value, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdNotEqualTo(String value) {
            addCriterion("refund_id <>", value, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdGreaterThan(String value) {
            addCriterion("refund_id >", value, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdGreaterThanOrEqualTo(String value) {
            addCriterion("refund_id >=", value, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdLessThan(String value) {
            addCriterion("refund_id <", value, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdLessThanOrEqualTo(String value) {
            addCriterion("refund_id <=", value, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdLike(String value) {
            addCriterion("refund_id like", value, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdNotLike(String value) {
            addCriterion("refund_id not like", value, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdIn(List<String> values) {
            addCriterion("refund_id in", values, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdNotIn(List<String> values) {
            addCriterion("refund_id not in", values, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdBetween(String value1, String value2) {
            addCriterion("refund_id between", value1, value2, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundIdNotBetween(String value1, String value2) {
            addCriterion("refund_id not between", value1, value2, "refundId");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNull() {
            addCriterion("refund_amount is null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNotNull() {
            addCriterion("refund_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountEqualTo(Long value) {
            addCriterion("refund_amount =", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotEqualTo(Long value) {
            addCriterion("refund_amount <>", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThan(Long value) {
            addCriterion("refund_amount >", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("refund_amount >=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThan(Long value) {
            addCriterion("refund_amount <", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThanOrEqualTo(Long value) {
            addCriterion("refund_amount <=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIn(List<Long> values) {
            addCriterion("refund_amount in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotIn(List<Long> values) {
            addCriterion("refund_amount not in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountBetween(Long value1, Long value2) {
            addCriterion("refund_amount between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotBetween(Long value1, Long value2) {
            addCriterion("refund_amount not between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andExpectResultIsNull() {
            addCriterion("expect_result is null");
            return (Criteria) this;
        }

        public Criteria andExpectResultIsNotNull() {
            addCriterion("expect_result is not null");
            return (Criteria) this;
        }

        public Criteria andExpectResultEqualTo(String value) {
            addCriterion("expect_result =", value, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultNotEqualTo(String value) {
            addCriterion("expect_result <>", value, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultGreaterThan(String value) {
            addCriterion("expect_result >", value, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultGreaterThanOrEqualTo(String value) {
            addCriterion("expect_result >=", value, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultLessThan(String value) {
            addCriterion("expect_result <", value, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultLessThanOrEqualTo(String value) {
            addCriterion("expect_result <=", value, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultLike(String value) {
            addCriterion("expect_result like", value, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultNotLike(String value) {
            addCriterion("expect_result not like", value, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultIn(List<String> values) {
            addCriterion("expect_result in", values, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultNotIn(List<String> values) {
            addCriterion("expect_result not in", values, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultBetween(String value1, String value2) {
            addCriterion("expect_result between", value1, value2, "expectResult");
            return (Criteria) this;
        }

        public Criteria andExpectResultNotBetween(String value1, String value2) {
            addCriterion("expect_result not between", value1, value2, "expectResult");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeIsNull() {
            addCriterion("business_time is null");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeIsNotNull() {
            addCriterion("business_time is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeEqualTo(Date value) {
            addCriterion("business_time =", value, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeNotEqualTo(Date value) {
            addCriterion("business_time <>", value, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeGreaterThan(Date value) {
            addCriterion("business_time >", value, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("business_time >=", value, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeLessThan(Date value) {
            addCriterion("business_time <", value, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeLessThanOrEqualTo(Date value) {
            addCriterion("business_time <=", value, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeIn(List<Date> values) {
            addCriterion("business_time in", values, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeNotIn(List<Date> values) {
            addCriterion("business_time not in", values, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeBetween(Date value1, Date value2) {
            addCriterion("business_time between", value1, value2, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessTimeNotBetween(Date value1, Date value2) {
            addCriterion("business_time not between", value1, value2, "businessTime");
            return (Criteria) this;
        }

        public Criteria andBusinessResultIsNull() {
            addCriterion("business_result is null");
            return (Criteria) this;
        }

        public Criteria andBusinessResultIsNotNull() {
            addCriterion("business_result is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessResultEqualTo(String value) {
            addCriterion("business_result =", value, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultNotEqualTo(String value) {
            addCriterion("business_result <>", value, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultGreaterThan(String value) {
            addCriterion("business_result >", value, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultGreaterThanOrEqualTo(String value) {
            addCriterion("business_result >=", value, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultLessThan(String value) {
            addCriterion("business_result <", value, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultLessThanOrEqualTo(String value) {
            addCriterion("business_result <=", value, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultLike(String value) {
            addCriterion("business_result like", value, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultNotLike(String value) {
            addCriterion("business_result not like", value, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultIn(List<String> values) {
            addCriterion("business_result in", values, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultNotIn(List<String> values) {
            addCriterion("business_result not in", values, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultBetween(String value1, String value2) {
            addCriterion("business_result between", value1, value2, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessResultNotBetween(String value1, String value2) {
            addCriterion("business_result not between", value1, value2, "businessResult");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountIsNull() {
            addCriterion("business_amount is null");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountIsNotNull() {
            addCriterion("business_amount is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountEqualTo(Long value) {
            addCriterion("business_amount =", value, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountNotEqualTo(Long value) {
            addCriterion("business_amount <>", value, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountGreaterThan(Long value) {
            addCriterion("business_amount >", value, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("business_amount >=", value, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountLessThan(Long value) {
            addCriterion("business_amount <", value, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountLessThanOrEqualTo(Long value) {
            addCriterion("business_amount <=", value, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountIn(List<Long> values) {
            addCriterion("business_amount in", values, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountNotIn(List<Long> values) {
            addCriterion("business_amount not in", values, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountBetween(Long value1, Long value2) {
            addCriterion("business_amount between", value1, value2, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBusinessAmountNotBetween(Long value1, Long value2) {
            addCriterion("business_amount not between", value1, value2, "businessAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeIsNull() {
            addCriterion("buyer_handle_type is null");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeIsNotNull() {
            addCriterion("buyer_handle_type is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeEqualTo(String value) {
            addCriterion("buyer_handle_type =", value, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeNotEqualTo(String value) {
            addCriterion("buyer_handle_type <>", value, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeGreaterThan(String value) {
            addCriterion("buyer_handle_type >", value, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeGreaterThanOrEqualTo(String value) {
            addCriterion("buyer_handle_type >=", value, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeLessThan(String value) {
            addCriterion("buyer_handle_type <", value, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeLessThanOrEqualTo(String value) {
            addCriterion("buyer_handle_type <=", value, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeLike(String value) {
            addCriterion("buyer_handle_type like", value, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeNotLike(String value) {
            addCriterion("buyer_handle_type not like", value, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeIn(List<String> values) {
            addCriterion("buyer_handle_type in", values, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeNotIn(List<String> values) {
            addCriterion("buyer_handle_type not in", values, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeBetween(String value1, String value2) {
            addCriterion("buyer_handle_type between", value1, value2, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerHandleTypeNotBetween(String value1, String value2) {
            addCriterion("buyer_handle_type not between", value1, value2, "buyerHandleType");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeIsNull() {
            addCriterion("buyer_time is null");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeIsNotNull() {
            addCriterion("buyer_time is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeEqualTo(Date value) {
            addCriterion("buyer_time =", value, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeNotEqualTo(Date value) {
            addCriterion("buyer_time <>", value, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeGreaterThan(Date value) {
            addCriterion("buyer_time >", value, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("buyer_time >=", value, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeLessThan(Date value) {
            addCriterion("buyer_time <", value, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeLessThanOrEqualTo(Date value) {
            addCriterion("buyer_time <=", value, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeIn(List<Date> values) {
            addCriterion("buyer_time in", values, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeNotIn(List<Date> values) {
            addCriterion("buyer_time not in", values, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeBetween(Date value1, Date value2) {
            addCriterion("buyer_time between", value1, value2, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerTimeNotBetween(Date value1, Date value2) {
            addCriterion("buyer_time not between", value1, value2, "buyerTime");
            return (Criteria) this;
        }

        public Criteria andBuyerResultIsNull() {
            addCriterion("buyer_result is null");
            return (Criteria) this;
        }

        public Criteria andBuyerResultIsNotNull() {
            addCriterion("buyer_result is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerResultEqualTo(String value) {
            addCriterion("buyer_result =", value, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultNotEqualTo(String value) {
            addCriterion("buyer_result <>", value, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultGreaterThan(String value) {
            addCriterion("buyer_result >", value, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultGreaterThanOrEqualTo(String value) {
            addCriterion("buyer_result >=", value, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultLessThan(String value) {
            addCriterion("buyer_result <", value, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultLessThanOrEqualTo(String value) {
            addCriterion("buyer_result <=", value, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultLike(String value) {
            addCriterion("buyer_result like", value, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultNotLike(String value) {
            addCriterion("buyer_result not like", value, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultIn(List<String> values) {
            addCriterion("buyer_result in", values, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultNotIn(List<String> values) {
            addCriterion("buyer_result not in", values, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultBetween(String value1, String value2) {
            addCriterion("buyer_result between", value1, value2, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerResultNotBetween(String value1, String value2) {
            addCriterion("buyer_result not between", value1, value2, "buyerResult");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountIsNull() {
            addCriterion("buyer_refund_amount is null");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountIsNotNull() {
            addCriterion("buyer_refund_amount is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountEqualTo(Long value) {
            addCriterion("buyer_refund_amount =", value, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountNotEqualTo(Long value) {
            addCriterion("buyer_refund_amount <>", value, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountGreaterThan(Long value) {
            addCriterion("buyer_refund_amount >", value, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("buyer_refund_amount >=", value, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountLessThan(Long value) {
            addCriterion("buyer_refund_amount <", value, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountLessThanOrEqualTo(Long value) {
            addCriterion("buyer_refund_amount <=", value, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountIn(List<Long> values) {
            addCriterion("buyer_refund_amount in", values, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountNotIn(List<Long> values) {
            addCriterion("buyer_refund_amount not in", values, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountBetween(Long value1, Long value2) {
            addCriterion("buyer_refund_amount between", value1, value2, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundAmountNotBetween(Long value1, Long value2) {
            addCriterion("buyer_refund_amount not between", value1, value2, "buyerRefundAmount");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsIsNull() {
            addCriterion("buyer_refund_explains is null");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsIsNotNull() {
            addCriterion("buyer_refund_explains is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsEqualTo(String value) {
            addCriterion("buyer_refund_explains =", value, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsNotEqualTo(String value) {
            addCriterion("buyer_refund_explains <>", value, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsGreaterThan(String value) {
            addCriterion("buyer_refund_explains >", value, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsGreaterThanOrEqualTo(String value) {
            addCriterion("buyer_refund_explains >=", value, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsLessThan(String value) {
            addCriterion("buyer_refund_explains <", value, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsLessThanOrEqualTo(String value) {
            addCriterion("buyer_refund_explains <=", value, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsLike(String value) {
            addCriterion("buyer_refund_explains like", value, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsNotLike(String value) {
            addCriterion("buyer_refund_explains not like", value, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsIn(List<String> values) {
            addCriterion("buyer_refund_explains in", values, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsNotIn(List<String> values) {
            addCriterion("buyer_refund_explains not in", values, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsBetween(String value1, String value2) {
            addCriterion("buyer_refund_explains between", value1, value2, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andBuyerRefundExplainsNotBetween(String value1, String value2) {
            addCriterion("buyer_refund_explains not between", value1, value2, "buyerRefundExplains");
            return (Criteria) this;
        }

        public Criteria andRefundReasonIsNull() {
            addCriterion("refund_reason is null");
            return (Criteria) this;
        }

        public Criteria andRefundReasonIsNotNull() {
            addCriterion("refund_reason is not null");
            return (Criteria) this;
        }

        public Criteria andRefundReasonEqualTo(String value) {
            addCriterion("refund_reason =", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotEqualTo(String value) {
            addCriterion("refund_reason <>", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonGreaterThan(String value) {
            addCriterion("refund_reason >", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonGreaterThanOrEqualTo(String value) {
            addCriterion("refund_reason >=", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonLessThan(String value) {
            addCriterion("refund_reason <", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonLessThanOrEqualTo(String value) {
            addCriterion("refund_reason <=", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonLike(String value) {
            addCriterion("refund_reason like", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotLike(String value) {
            addCriterion("refund_reason not like", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonIn(List<String> values) {
            addCriterion("refund_reason in", values, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotIn(List<String> values) {
            addCriterion("refund_reason not in", values, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonBetween(String value1, String value2) {
            addCriterion("refund_reason between", value1, value2, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotBetween(String value1, String value2) {
            addCriterion("refund_reason not between", value1, value2, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeIsNull() {
            addCriterion("refund_success_time is null");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeIsNotNull() {
            addCriterion("refund_success_time is not null");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeEqualTo(Date value) {
            addCriterion("refund_success_time =", value, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeNotEqualTo(Date value) {
            addCriterion("refund_success_time <>", value, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeGreaterThan(Date value) {
            addCriterion("refund_success_time >", value, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("refund_success_time >=", value, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeLessThan(Date value) {
            addCriterion("refund_success_time <", value, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeLessThanOrEqualTo(Date value) {
            addCriterion("refund_success_time <=", value, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeIn(List<Date> values) {
            addCriterion("refund_success_time in", values, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeNotIn(List<Date> values) {
            addCriterion("refund_success_time not in", values, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeBetween(Date value1, Date value2) {
            addCriterion("refund_success_time between", value1, value2, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andRefundSuccessTimeNotBetween(Date value1, Date value2) {
            addCriterion("refund_success_time not between", value1, value2, "refundSuccessTime");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}